package com.example.demo.materialPurchase.service;

import com.example.demo.common.ResponseData;
import com.example.demo.materialPurchase.entity.MaterialPurchase;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lby
 * @since 2021-05-09
 */
public interface MaterialPurchaseService extends IService<MaterialPurchase> {

	public ResponseData insNewOne(String tableId, String materialName, String departName, int purchaseNum
			,String partUsed, String preStatus, String remark);
	
	public ResponseData UpdateStatus(String[] ids, String preStatus);

	public ResponseData selMaterialBases(int currentPage, int pageSize);
	
	public ResponseData selAllPurchase(String preStatus, String departName, int currentPage, int pageSize);
}
